const {getRedisConn} = require('./redisConnectUtil')
const {v4: uuid} = require('uuid')

const redis = getRedisConn();

// list 新增 key value
async function lpush(key, val, callback) {
    redis.lpush(key, val, (err, res) => {
        callback(err,res);
    })
}

module.exports = {
    lpush
}
